feat: [Magic Link Login] add placeholder to invalidEmail to return user email.#1145
feat: [Magic Link Login] add placeholder to invalidEmail to return user email.#1145datamweb merged 31 commits intocodeigniter4:developfrom
invalidEmail to return user email.#1145Conversation
|
Please fix errors in GitHub Action checks, and add test code. |
|
@kenjis all language files need to be updated but I don't understand other languages. Should I use english for other files as default language to be translated later by respective authors? |
|
Ahh, OK. I will update later. |
…ess matches the email {0}.',
invalidEmail to return user email.invalidEmail to return user email.
|
Escape this: shield/src/Views/magic_link_form.php Line 22 in 1829443 |
|
I'm in a meeting now, I'll update again later. |
kenjis
left a comment
There was a problem hiding this comment.
Escape this, too.
shield/src/Views/magic_link_form.php
Line 22 in 1829443
|
@warcooft We don't use merge commits in PR branches. See GitHub Actions. |
|
ups, my bad, okay I'll rebase. |
|
It seems to be fine now, please check it. |
|
Where can I find that key in the test case? |
It is difficult to understand, but it tells "Auth.invalidEmail" in "uk" must be different from |
|
I see, I forgot to add something. |
Description
This pull request improves existing translations by returning the user's email if the corresponding email is not found. This update aims to make communication more engaging and user-friendly. By returning the email value in the error message, it will help users to confirm and correct the email sent because in general users often make typos.
Preview
Checklist: